package codebot.processor.languages;

import codebot.processor.IScreen;

/**
 * Specific syntax processor for Java
 */
public class Java extends CFamily {
  
  protected static int DEPTH=CFamily.DEPTH+1;

  /**
   * @see Lang.java
   */
  @Override
  public void processSpecificSyntax(IScreen screen, String code, int s, int e) {
    KEYWORDS = new String[] { "public", "private", "protected", "final",
        "static", "abstract", "extends", "implements", "void", "class", "int",
        "boolean", "then", "foreach", "instanceof", "this", "try", "catch",
        "throw" };
    super.processSpecificSyntax(screen, code, s, e);
  }

  @Override
  public String toString() {
    return "Java";
  }

}
